package com.jzh.cmhSystem.biz;


import com.jzh.cmhSystem.entity.User;
import com.jzh.cmhSystem.entity.UserAndDetail;

public interface UserService {
    User findUserByName(String username);


    int register(String username, String password, int role);

    void updatePwd(String rePwd);

    int deleteUserById(UserAndDetail userAndDetail);

    void updateById(User user);
}
